﻿using Ducu.BLL.NHMap;
using NUnit.Framework;

namespace Ducu.BLL.NHMapTest
{
    [SetUpFixture]
    public class BuildDatabase
    {
        [SetUp]
        public void Build()
        {
            Global.NHibernateTestHelper.BuildDatabase.CreateDatabase(Constant.DB_NAME);
            Global.NHibernateTestHelper.BuildDatabase.CreateTables(
                ConfigurationProvider.Action, Constant.DB_NAME, false);
        }
    }
}
